﻿package pk;

public class Test_Keyczar {
    public static void main(String[] args) {
        try {   
            byte[] out = readFileInBytesToString("D:\\下载\\a+b.zip");
            File outfile = new File("D:\\下载\\a-b1221.zip");
            if (!outfile.exists()) {
                outfile.createNewFile();
            }
            DataOutputStream fw = new DataOutputStream(new FileOutputStream(
                    outfile));
            fw.write(new String(out).getBytes());
            fw.close();
        } catch (FileNotFoundException e) {
    
            e.printStackTrace();
        } catch (IOException e) {
         
            e.printStackTrace();
        } catch (Exception e) {
   
            e.printStackTrace();
        }

    }
